projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01c0151
)
mmc: matsushita-common: Correctly set mode in 16bit
author
Marek Vasut
<
[email protected]
>
Mon, 9 Apr 2018 18:47:31 +0000
(20:47 +0200)
committer
Marek Vasut
<
[email protected]
>
Wed, 11 Apr 2018 21:12:00 +0000
(23:12 +0200)
The HOST_MODE register must be set to 0 when the IP is operated in 16bit
mode, otherwise 16bit access to the data FIFO may fail.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Jaehoon Chung <
[email protected]
>
Cc: Masahiro Yamada <
[email protected]
>
drivers/mmc/matsushita-common.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/matsushita-common.c
b/drivers/mmc/matsushita-common.c
index 739586557ac319eeae9c458c273a1ac0b96772e3..e552a09ea11e5bd093c86b2964bb0f4055b64f65 100644
(file)
--- a/
drivers/mmc/matsushita-common.c
+++ b/
drivers/mmc/matsushita-common.c
@@
-688,8
+688,6
@@
static void matsu_sd_host_init(struct matsu_sd_priv *priv)
*/
if (priv->version >= 0x10)
matsu_sd_writel(priv, 0x101, MATSU_SD_HOST_MODE);
- else if (priv->caps & MATSU_SD_CAP_16BIT)
- matsu_sd_writel(priv, 0x1, MATSU_SD_HOST_MODE);
else
matsu_sd_writel(priv, 0x0, MATSU_SD_HOST_MODE);